package com.cmsky.open.shop.dao;

import java.util.*;

import com.cmsky.open.core.base.*;
import com.cmsky.open.core.util.*;

import cn.org.rapid_framework.util.*;
import cn.org.rapid_framework.web.util.*;
import cn.org.rapid_framework.page.*;
import cn.org.rapid_framework.page.impl.*;

import com.cmsky.open.shop.model.*;
import com.cmsky.open.shop.dao.*;
import com.cmsky.open.shop.manager.*;
import com.cmsky.open.shop.vo.query.*;

/**
 * @author jandyfish email:jandyfish(a)gmail.com
 * @version 1.0
 * @since 1.0
 */


import org.springframework.stereotype.Repository;


@Repository
public class ShopInfoDao extends BaseIbatis3Dao<ShopInfo,java.lang.Integer>{
	
	@Override
	public String getIbatisMapperNamesapce() {
		return "ShopInfo";
	}
	
	public BasePager findPage(String statementName,ShopInfoQuery query) {
		return pageQuery(statementName,query);
	}
	
	public int updatePass(ShopInfoQuery query){
		return this.getSqlSessionTemplate().update("ShopInfo.updatePasswd", query);
	}
}
